package com.grantheath.erebus.view.helpers
{
	import com.grantheath.erebus.model.interfaces.IErebusPageNode;

	import flash.utils.Timer;

	/**
	 * @author grantheath
	 */
	public class ErebusTimer extends Timer 
	{
		private var _pageNode : IErebusPageNode;
		
		public function ErebusTimer(delay : Number, pageNode : IErebusPageNode)
		{
			_pageNode = pageNode;
			super(delay, 1);
		}
		
		//GETTERS AND SETTERS
		public function get pageNode() : IErebusPageNode
		{
			return _pageNode;
		}
	}
}
